﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ActivitiesControl.Domain.DAL;
using ActivitiesControl.Domain.Utils;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
using System.Security.Cryptography;

namespace ActivitiesControl.Domain.Model
{
	public class User
	{
		public int Id { get; set; }
		public string Username { get; set; }
		public string Password { get; set; }
		public Resource Resource { get; set; }
		public int ResourceId { get; set; }
		public UserType UserType { get; set; }
	}

	public enum UserType
	{ 
		Admin = 1,
		Manager = 1 << 1,
		Common = 1 << 2
	}
}